package com.example.mysprit;

import android.accessibilityservice.AccessibilityService;
import android.content.Intent;
import android.view.accessibility.AccessibilityEvent;

public class AccessService  extends AccessibilityService {

    /**
     * 无障碍启动
     */
    @Override
    protected void onServiceConnected() {
        super.onServiceConnected();
    }

    /**
     * 运行 在整个生命周期中调用多次
     * @param event
     */
    @Override
    public void onAccessibilityEvent(AccessibilityEvent event) {

    }

    /**
     * 被中断反馈
     */
    @Override
    public void onInterrupt() {

    }

    /**
     * 关闭无障碍服务
     * @param intent
     * @return
     */
    @Override
    public boolean onUnbind(Intent intent) {
        return super.onUnbind(intent);
    }
}
